﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Albon.Model
{
    /// <summary>
    /// 订单交流（Dealer And Girls）、内部信息（修改数据，维护系统）、购买布料（发给布料公司的订购信息）
    /// </summary>
    [Serializable]
    public class Message
    {
        public Message()
        { }
        #region Model
        private int _id;
        private int _orderid;
        private int _refid;
        private string _sender;
        private string _receiver;
        private string _title;
        private string _content;
        private bool _ismarked;
        private bool _isread;
        private bool _ischecked;
        private DateTime _createdate;
        private string _emailaddress;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int orderID
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int refID
        {
            set { _refid = value; }
            get { return _refid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string sender
        {
            set { _sender = value; }
            get { return _sender; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string receiver
        {
            set { _receiver = value; }
            get { return _receiver; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isMarked
        {
            set { _ismarked = value; }
            get { return _ismarked; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isRead
        {
            set { _isread = value; }
            get { return _isread; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isChecked
        {
            set { _ischecked = value; }
            get { return _ischecked; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime createDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string EmailAddress
        {
            set { _emailaddress = value; }
            get { return _emailaddress; }
        }
        #endregion Model

    }
}

